package com.swak.consistency.tcc.resolve;

import com.swak.consistency.tcc.context.Phase;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 业务中传递的数据
 * 
 * @author DELL
 */
@Getter
@Setter
@Accessors(chain = true)
@Data
public class TransAttr {
	/**
	 * 事务ID
	 */
	private Long transId;

	/**
	 * 事务当前执行的阶段
	 */
	private Phase phase;
}
